﻿<%@ Page Title="" Language="C#" MasterPageFile="~/ApplicantSite.master" AutoEventWireup="true" CodeFile="ChangePasswordForm.aspx.cs" Inherits="SRM.ChangePasswordForm" %>


<asp:Content ID="head_Content" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="main_Content" ContentPlaceHolderID="main" Runat="Server">
    <asp:HiddenField runat="server" ID="hdn_UseSAPCode" />
    <asp:HiddenField runat="server" ID="hdn_applicantKey" />
    
    <%--<h1>SRM Log In</h1>--%>

    <div>
<%--        <p>If you do not have an account with us, register <a href="RegisterAccountForm.aspx">here</a>.</p>
        <p>If you do not remember your password, click <a href="SendNewPasswordForm.aspx">here</a> to have a new password to be sent to your e-mail address.</p>
--%>        
    </div>

    <fieldset>

    <legend>Change Account Password</legend>

    <div class="pure-g form-row">
        <div class="pure-u-12-24">
        Fields with <span class="asterisk">*</span> are required fields.
        </div>
    </div>

    <div class="pure-g form-row">
        <div class="pure-u-3-24 form-label">
            <asp:Label ID="Password_Label" Text="Password" runat="server" AssociatedControlID="Password_TextBox" />
            <span class="asterisk">*</span>
            <asp:RequiredFieldValidator ID="Password_RequiredFieldValidator" runat="server" ErrorMessage="!!!" ValidationGroup="Login"
                ControlToValidate="Password_TextBox" Display="Dynamic" 
                CssClass="required"></asp:RequiredFieldValidator>
        </div>
        <div class="pure-u-12-24">
            <asp:TextBox ID="Password_TextBox" runat="server" CssClass="" autocomplete="Off" TextMode="Password"
                CausesValidation="True" ValidationGroup="Login" />
            
        </div>
    </div>

    <div class="pure-g form-row">
        <div class="pure-u-3-24 form-label">
            <asp:Label ID="NewPassword_Label" Text="New Password" runat="server" AssociatedControlID="NewPassword_TextBox" />
            <span class="asterisk">*</span>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="!!!" ValidationGroup="Login"
                ControlToValidate="NewPassword_TextBox" Display="Dynamic" 
                CssClass="required"></asp:RequiredFieldValidator>
        </div>
        <div class="pure-u-12-24">
            <asp:TextBox ID="NewPassword_TextBox" runat="server" CssClass="" autocomplete="Off" TextMode="Password"
                CausesValidation="True" ValidationGroup="Login" />
            
        </div>
    </div>

    <div class="pure-g form-row">
        <div class="pure-u-3-24 form-label">
            <asp:Label ID="ConfirmPassword_Label" Text="Confirm Password" runat="server" AssociatedControlID="ConfirmPassword_TextBox" />
            <span class="asterisk">*</span>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="!!!" ValidationGroup="Login"
                ControlToValidate="ConfirmPassword_TextBox" Display="Dynamic" 
                CssClass="required"></asp:RequiredFieldValidator>
            <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="!!!" ValidationGroup="Login"
                ControlToValidate="ConfirmPassword_TextBox" ControlToCompare="NewPassword_TextBox"
                Display="Dynamic" CssClass="required"></asp:CompareValidator>
        </div>
        
        <div class="pure-u-12-24">
            <asp:TextBox ID="ConfirmPassword_TextBox" runat="server" CssClass="" autocomplete="Off" TextMode="Password"
                CausesValidation="True" ValidationGroup="Login" />
            
        </div>
    </div>

    <div class="pure-g form-row">
        <div class="pure-u-3-24 form-label"></div>
        <div class="pure-u-12-24">
            <asp:Button runat="server" Text="Change Password" CausesValidation="true" ID="ChangePassword_Button" 
                ValidationGroup="Login" onclick="Change_Password_Button_Click" />
            <br />
            <span class="warning" ><asp:Literal runat="server" ID="ErrorMessage_Literal"></asp:Literal></span>
        </div>
    </div>
    </fieldset>

    
    <%--<hr />--%>
    

</asp:Content>

